//===============================
//  功能 ：备注 
//  作者 ：上中野辅亚瑟王 
//  创建时间 ：2024-09-19  18-46-40 
//  Unity版本  ：2019.4.35f1 
//  变更时间 :  2024-09-19  18-46-40 
//===============================





using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UniFramework.Animation;

[CustomEditor(typeof(AnimationController))]
public class AnimationControllerInspector : Editor
{
    private AnimationController script { get { return target as AnimationController; } }

    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();


        if (!EditorApplication.isPlaying)
            return;

        if (script.Animator==null)
        {
            Debug.Log("DD");
        }

        Debug.Log("CC"+ script.Animator.GetCurrentAnimatorStateInfo(0).normalizedTime);
        //EditorGUILayout.LabelField(script.Animator.GetCurrentAnimatorStateInfo(0).fullPathHash.ToString( ));


    }
}




